/*
 *
 * *******************************************************************
 *   @项目名称: BHex Android
 *   @文件名称: OrderBean.java
 *   @Date: 11/29/18 3:21 PM
 *   @Author: chenjun
 *   @Copyright（C）: 2018 BlueHelix Inc.   All rights reserved.
 *   注意：本内容仅限于内部传阅，禁止外泄以及用于其他的商业目的.
 *  *******************************************************************
 *
 */

package io.bhex.sdk.trade.bean;

import java.util.List;

import io.bhex.baselib.network.response.BaseResponse;

public class OrderBean extends BaseResponse {

    /**
     * time : 1530762873912
     * orderId : 67221581357125632
     * accountId : 1018116225462
     * symbolId : ETHBTC
     * baseTokenId : ETH
     * quoteTokenId : BTC
     * price : 0.230000000000000000
     * origQty : 0.500000000000000000
     * executedQty : 0.000000000000000000
     * executedAmount : 0.000000000000000000
     * avgPrice : 0.00045
     * type : LIMIT
     * side : BUY
     * status : NEW
     * statusDesc : 创建成功
     */

    private String time;
    private String orderId;
    private String accountId;
    private String symbolId;
    private String symbolName;
    private String baseTokenId;
    private String baseTokenName;
    private String quoteTokenId;
    private String quoteTokenName;
    private String price;
    private String origQty;
    private String executedQty;
    private String executedAmount;
    private String avgPrice;
    private String type;
    private String side;
    private String status;
    private String statusDesc;
    private List<FeesBean> fees;

    public String averagePrice;
    public String noExecutedQty;
    public String amount;
    public String tradeId;
    public String quantity;



    public String getSymbolName() {
        return symbolName;
    }

    public void setSymbolName(String symbolName) {
        this.symbolName = symbolName;
    }

    public String getBaseTokenName() {
        return baseTokenName;
    }

    public void setBaseTokenName(String baseTokenName) {
        this.baseTokenName = baseTokenName;
    }

    public String getQuoteTokenName() {
        return quoteTokenName;
    }

    public void setQuoteTokenName(String quoteTokenName) {
        this.quoteTokenName = quoteTokenName;
    }

    public String getTime() {
        return time;
    }

    public void setTime(String time) {
        this.time = time;
    }

    public String getOrderId() {
        return orderId;
    }

    public void setOrderId(String orderId) {
        this.orderId = orderId;
    }

    public String getAccountId() {
        return accountId;
    }

    public void setAccountId(String accountId) {
        this.accountId = accountId;
    }

    public String getSymbolId() {
        return symbolId;
    }

    public void setSymbolId(String symbolId) {
        this.symbolId = symbolId;
    }

    public String getBaseTokenId() {
        return baseTokenId;
    }

    public void setBaseTokenId(String baseTokenId) {
        this.baseTokenId = baseTokenId;
    }

    public String getQuoteTokenId() {
        return quoteTokenId;
    }

    public void setQuoteTokenId(String quoteTokenId) {
        this.quoteTokenId = quoteTokenId;
    }

    public String getPrice() {
        return price;
    }

    public void setPrice(String price) {
        this.price = price;
    }

    public String getOrigQty() {
        return origQty;
    }

    public void setOrigQty(String origQty) {
        this.origQty = origQty;
    }

    public String getExecutedQty() {
        return executedQty;
    }

    public void setExecutedQty(String executedQty) {
        this.executedQty = executedQty;
    }

    public String getExecutedAmount() {
        return executedAmount;
    }

    public void setExecutedAmount(String executedAmount) {
        this.executedAmount = executedAmount;
    }

    public String getAvgPrice() {
        return avgPrice;
    }

    public void setAvgPrice(String avgPrice) {
        this.avgPrice = avgPrice;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getSide() {
        return side;
    }

    public void setSide(String side) {
        this.side = side;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getStatusDesc() {
        return statusDesc;
    }

    public void setStatusDesc(String statusDesc) {
        this.statusDesc = statusDesc;
    }

    public List<FeesBean> getFees() {
        return fees;
    }

    public void setFees(List<FeesBean> fees) {
        this.fees = fees;
    }

    public static class FeesBean {
        /**
         * feeTokenId : BHC
         * feeTokenName : BHC
         * fee : 0
         */

        private String feeTokenId;  // 手续费类型Id
        private String feeTokenName;// 手续费类型Name
        private String fee; // 手续费

        public String getFeeTokenId() {
            return feeTokenId;
        }

        public void setFeeTokenId(String feeTokenId) {
            this.feeTokenId = feeTokenId;
        }

        public String getFeeTokenName() {
            return feeTokenName;
        }

        public void setFeeTokenName(String feeTokenName) {
            this.feeTokenName = feeTokenName;
        }

        public String getFee() {
            return fee;
        }

        public void setFee(String fee) {
            this.fee = fee;
        }
    }
}
